@import '../../color.less';
.datepickerWapper {
    min-width: 300px;
    .header {
        display: flex;
        padding: 8px 0px;
        font-size: 18px;
        span {
            margin: 0 4px
        }
        span:hover {
            color: @mainColor;
            cursor: pointer;
        }
        span.disable {
            color: #aeaeae;
        }
        .date {
            flex: 1;
            color: #000;
            text-align: center;
            font-size: 16px;
        }
    }
    .content {
        padding-bottom: 4px;
        .weeks {
            font-size: 12px;
            color: rgba(0, 0, 0, 0.3);
            padding-bottom: 4px;
            display: flex;
            justify-content: space-around;
        }
        .days {
            .wrapday {
                display: inline-block;
                width: 14.285714285714286%;
                text-align: center;
                padding: 3px 0;
                .day {
                    height: 25px;
                    line-height: 22px;
                    width: 25px;
                    margin: 0 auto;
                    cursor: pointer;
                    position: relative;
                    .mark {
                        position: absolute;
                        left: 50%;
                        margin-left: -7px;
                        bottom: -8px;
                        border-radius: 2px;
                        color: @warnColor;
                        pointer-events: none;
                    }
                }
                .day.current {
                    border: 1px solid @mainColor;
                    color: @mainColor 
                }
                .day.active {
                    background-color: @mainColor !important;
                    color: #fff !important
                }
                .day.not {
                    color: rgba(0,0,0,0.25);
                }
                .day.pre {
                    color: rgba(0,0,0,0.25);
                    background-color: #f5f5f5;
                }
                
            }
            .wrapday:nth-child(7n - 1) .day, .wrapday:nth-child(7n) .day {
                color: @mainColor;
            }
            .wrapday:nth-child(7n - 1) .notweek, .wrapday:nth-child(7n) .notweek {
                color: rgba(0, 141, 255, 0.4);;
            }
        }
    }
}